<div nz-row>
  <div nz-col [nzOrder]="formOrder" [nzXXl]="12" [nzXl]="12" [nzLg]="24" [nzMd]="24" [nzSm]="24" [nzXs]="24">
    <form [nzLayout]="'horizontal'" nz-form [formGroup]="validateForm" (ngSubmit)="submitForm()">
      <nz-form-item>
        <nz-form-label nzSpan="12" nzFor="fastEffect">急性毒性</nz-form-label>
        <nz-form-control nzSpan="12" nzErrorTip="急性毒性">
          <input nz-input formControlName="fastEffect" id="fastEffect" placeholder="急性毒性"/>
        </nz-form-control>
      </nz-form-item>
      <nz-form-item>
        <nz-form-label nzSpan="12" nzFor="skinEtchEffect">皮肤刺激或腐蚀</nz-form-label>
        <nz-form-control nzSpan="12" nzErrorTip="皮肤刺激/腐蚀">
          <input nz-input formControlName="skinEtchEffect" id="skinEtchEffect" placeholder="皮肤刺激/腐蚀"/>
        </nz-form-control>
      </nz-form-item>
      <nz-form-item>
        <nz-form-label nzSpan="12" nzFor="skinBreatheEffect">呼吸或皮肤过敏</nz-form-label>
        <nz-form-control nzSpan="12" nzErrorTip="呼吸/皮肤过敏">
          <input nz-input formControlName="skinBreatheEffect" id="skinBreatheEffect" placeholder="呼吸/皮肤过敏"/>
        </nz-form-control>
      </nz-form-item>
      <nz-form-item>
        <nz-form-label nzSpan="12" nzFor="cancerEffect">致癌性</nz-form-label>
        <nz-form-control nzSpan="12" nzErrorTip="致癌性">
          <input nz-input formControlName="cancerEffect" id="cancerEffect" placeholder="致癌性"/>
        </nz-form-control>
      </nz-form-item>
      <nz-form-item>
        <nz-form-label nzSpan="12" nzFor="breatheEffect">吸入危害</nz-form-label>
        <nz-form-control nzSpan="12" nzErrorTip="吸入危害">
          <input nz-input formControlName="breatheEffect" id="breatheEffect" placeholder="吸入危害"/>
        </nz-form-control>
      </nz-form-item>
      <nz-form-item *ngIf="AdminService.isAdmin" nz-row class="register-area">
        <nz-form-control [nzSpan]="12" [nzOffset]="12">
          <button nz-button nzType="primary">确定</button>
        </nz-form-control>
      </nz-form-item>
    </form>
  </div>
</div>
<ng-template #combineTpl let-control>
  <ng-container *ngIf="control.hasError('message')">{{control.errors['message']}}</ng-container>
  <ng-container *ngIf="control.hasError('required')">必填项</ng-container>
</ng-template>


